<!DOCTYPE html>
<html lang="en">
<head>
    <script src="http://libs.baidu.com/jquery/1.9.0/jquery.js"></script>
    <meta charset="UTF-8">
    <title>test json to object</title>
</head>
<body>
<h2 id="h">哈哈</h2>
<script>
    alert($("#h").text());
</script>
</body>
</html>